package com.yummy.dto;


import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/*
id:'',
name:'',
perCheckedIds:[]  //选中的权限
 */

public class RoleVo implements Serializable {
    private int id ;
    private String name ;
    private int[] perCheckedIds ;
    private Date insertTime;
    private Date updateTime;
    private Integer isDelete;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int[] getPerCheckedIds() {
        return perCheckedIds;
    }

    public void setPerCheckedIds(int[] perCheckedIds) {
        this.perCheckedIds = perCheckedIds;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "RoleVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", perCheckedIds=" + Arrays.toString(perCheckedIds) +
                ", insertTime=" + insertTime +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }


}
